package com.etone.smartAudit.dto.wordOrder;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author 张任豪
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(value = "WorkRectifyDTO", description = "整改反馈")
public class WorkRectifyDTO {

    @ApiModelProperty(value="id")
    private Integer id;

    @ApiModelProperty(value="工单Id")
    @NotNull
    private Integer workId;

    @ApiModelProperty(value="反馈类型(0直接汇总,1多次反馈)")
    private Integer feedBackType;

    @ApiModelProperty(value="相关责任人名称(用逗号隔开)")
    @TableField("vcChargeRelateMan")
    private String chargeRelateMan;

    @ApiModelProperty(value="相关责任人账号(用逗号隔开)")
    private String chargeRelateManAccount;

    @ApiModelProperty(value="整改计划")
    private String rectifyPlan;

    @ApiModelProperty(value="整改落实情况")
    private String rectifyInfo;

    @ApiModelProperty(value="整改结果(0未整改，1部分整改，2完全整改)")
    @NotNull
    private Integer rectifyResult;

    @ApiModelProperty(value="制度优化文件类型")
    private String systemFileType;

    @ApiModelProperty(value="制度优化文件下载名称")
    private String systemFileName;

    @ApiModelProperty(value="制度优化文件展示名称")
    private String systemFileOriginName;


    @ApiModelProperty(value="制度优化文件路劲")
    private String systemFileURL;

    @ApiModelProperty(value="升级改造文件类型")
    private String remoldFileType;

    @ApiModelProperty(value="升级改造文件名称")
    private String remoldFileName;

    @ApiModelProperty(value="升级改造文件展示名称")
    private String remoldFileOriginName;

    @ApiModelProperty(value="升级改造文件路劲")
    private String remoldFileURL;

    @ApiModelProperty(value="其它上传措施类型")
    private String measureFileType;

    @ApiModelProperty(value="其它上传措施名称")
    private String measureFileName;

    @ApiModelProperty(value="其它上传措施展示名称")
    private String measureFileOriginName;

    @ApiModelProperty(value="其它上传措施路劲")
    private String measureFileURL;

    @ApiModelProperty(value="支持资料文件类型")
    private String paperFileType;

    @ApiModelProperty(value="支持资料文件名称")
    private String paperFileName;

    @ApiModelProperty(value="支持资料文件展示名称")
    private String paperFileOriginName;

    @ApiModelProperty(value="支持资料路劲")
    private String paperFileURL;

    @ApiModelProperty(value="未完成原因")
    private String failCause;


    @ApiModelProperty(value="预期完成整改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:ss:mm")
    private Date expectTime;


    @ApiModelProperty(value="是否启动问责或责任追究(0未启动，1启动)")
    @NotNull
    private Integer isStartCharge;


    @ApiModelProperty(value="问责或责任追究结果描述")
    private String chargeResult;


}
